<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>音频与视频 | Introduction</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../html/iframe内嵌框架.html" />
    
    
    <link rel="prev" href="../html/列表与表单.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.6"
        data-chapter-title="音频与视频"
        data-filepath="html/音频和视频-标签.md"
        data-basepath=".."
        data-revision="Wed Apr 18 2018 23:41:29 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
            <span><b>1.</b> HTML</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/html的基本结构和内容.html">
            
                
                    <a href="../html/html的基本结构和内容.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        HTML
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="html/a-标签.html">
            
                
                    <a href="../html/a-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        a-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="html/img.html">
            
                
                    <a href="../html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        img-标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/biaoge.html">
            
                
                    <a href="../html/biaoge.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table-表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/列表与表单.html">
            
                
                    <a href="../html/列表与表单.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        列表与表单
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1.6" data-path="html/音频和视频-标签.html">
            
                
                    <a href="../html/音频和视频-标签.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        音频与视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="html/iframe内嵌框架.html">
            
                
                    <a href="../html/iframe内嵌框架.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        iframe内嵌框架
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
            <span><b>2.</b> CSS</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/CSS语法.html">
            
                
                    <a href="../css/CSS语法.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        CSS基本语法
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="css/选择器.html">
            
                
                    <a href="../css/选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/伪类.html">
            
                
                    <a href="../css/伪类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        伪类
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="css/盒子模型.html">
            
                
                    <a href="../css/盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="css/字体.html">
            
                
                    <a href="../css/字体.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        字体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="css/行高.html">
            
                
                    <a href="../css/行高.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        行高
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../" >Introduction</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <p><img src="../img/123.png" alt="&#x56FE;&#x7247;"></p>
<h1 id="welcome-to-use-my-xtnotebook">Welcome to use My XT-Notebook</h1>
<h2 id="&#x97F3;&#x9891;&#x6807;&#x7B7E;">&#x97F3;&#x9891;-&#x6807;&#x7B7E;</h2>
<h3 id="1&#x97F3;&#x9891;&#x7684;&#x4E00;&#x4E9B;&#x57FA;&#x672C;&#x683C;&#x5F0F;">1.&#x97F3;&#x9891;&#x7684;&#x4E00;&#x4E9B;&#x57FA;&#x672C;&#x683C;&#x5F0F;</h3>
<table>
<thead>
<tr>
<th style="text-align:center">&#x7C7B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">mp3</td>
<td style="text-align:center">&#x652F;&#x6301;&#x5EA6;&#x6700;&#x9AD8;&#xFF0C;&#x4F53;&#x79EF;&#x548C;&#x97F3;&#x8D28;&#x9002;&#x5408;&#x5927;&#x8303;&#x56F4;&#x63A8;&#x5E7F;</td>
</tr>
<tr>
<td style="text-align:center">ogg</td>
<td style="text-align:center">&#x5927;&#x90E8;&#x5206;&#x6D4F;&#x89C8;&#x5668;&#x652F;&#x6301;&#x7684;&#x683C;&#x5F0F;</td>
</tr>
<tr>
<td style="text-align:center">wma</td>
<td style="text-align:center">&#x5FAE;&#x8F6F;&#x5F00;&#x53D1;&#x7684;&#xFF0C;&#x97F3;&#x8D28;&#x6BD4;mp3&#x5F3A;</td>
</tr>
<tr>
<td style="text-align:center">flac</td>
<td style="text-align:center">&#x65E0;&#x635F;&#x97F3;&#x9891;</td>
</tr>
</tbody>
</table>
<h3 id="2&#x97F3;&#x9891;&#x7684;&#x4E00;&#x4E9B;&#x57FA;&#x672C;&#x5185;&#x5BB9;">2.&#x97F3;&#x9891;&#x7684;&#x4E00;&#x4E9B;&#x57FA;&#x672C;&#x5185;&#x5BB9;</h3>
<table>
<thead>
<tr>
<th style="text-align:center">&#x7C7B;</th>
<th style="text-align:center">&#x5C5E;&#x6027;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">audio</td>
<td style="text-align:center">&#x5C55;&#x793A;&#x5E76;&#x64AD;&#x653E;&#x97F3;&#x9891;&#x6587;&#x4EF6;</td>
</tr>
<tr>
<td style="text-align:center">controls</td>
<td style="text-align:center">&#x64AD;&#x653E;&#x7684;&#x63A7;&#x5236;&#x9762;&#x677F;&#xFF0C;&#x5C5E;&#x6027;&#x540D;&#x548C;&#x5C5E;&#x6027;&#x503C;&#x4E00;&#x6837;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x53EF;&#x4EE5;&#x5FFD;&#x7565;&#x5C5E;&#x6027;&#x503C;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x5E0C;&#x671B;&#x8BE5;&#x5C5E;&#x6027;&#x51FA;&#x73B0;&#x5C31;&#x8981;&#x628A;&#x5C5E;&#x6027;&#x540D;&#x4E5F;&#x5E72;&#x6389;</td>
</tr>
<tr>
<td style="text-align:center">volume</td>
<td style="text-align:center">&#x97F3;&#x91CF;</td>
</tr>
<tr>
<td style="text-align:center">autoplay</td>
<td style="text-align:center">&#x81EA;&#x52A8;&#x64AD;&#x653E;</td>
</tr>
<tr>
<td style="text-align:center">preload</td>
<td style="text-align:center">&#x9884;&#x52A0;&#x8F7D;</td>
</tr>
<tr>
<td style="text-align:center">loop</td>
<td style="text-align:center">&#x5355;&#x66F2;&#x5FAA;&#x73AF;</td>
</tr>
<tr>
<td style="text-align:center">muted</td>
<td style="text-align:center">&#x9759;&#x97F3;</td>
</tr>
</tbody>
</table>
<h3 id="3&#x97F3;&#x9891;&#x67B6;&#x6784;">3.&#x97F3;&#x9891;&#x67B6;&#x6784;</h3>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;audio&#x97F3;&#x9891;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;!--
            audio &#x5C55;&#x793A;&#x5E76;&#x64AD;&#x653E;&#x97F3;&#x9891;&#x6587;&#x4EF6;
                &#x5C5E;&#x6027;&#xFF1A;
                    controls     &#x64AD;&#x653E;&#x7684;&#x63A7;&#x5236;&#x9762;&#x677F;&#xFF0C;&#x5C5E;&#x6027;&#x540D;&#x548C;&#x5C5E;&#x6027;&#x503C;&#x4E00;&#x6837;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x53EF;&#x4EE5;&#x5FFD;&#x7565;&#x5C5E;&#x6027;&#x503C;&#xFF0C;&#x5982;&#x679C;&#x4E0D;&#x5E0C;&#x671B;&#x8BE5;&#x5C5E;&#x6027;&#x51FA;&#x73B0;&#x5C31;&#x8981;&#x628A;&#x5C5E;&#x6027;&#x540D;&#x4E5F;&#x5E72;&#x6389;
                    volume        &#x97F3;&#x91CF;
                    autoplay    &#x81EA;&#x52A8;&#x64AD;&#x653E;
                    preload        &#x9884;&#x52A0;&#x8F7D;
                    loop        &#x5355;&#x66F2;&#x5FAA;&#x73AF;
                    muted        &#x9759;&#x97F3;

            &#x6CE8;&#x610F;&#xFF1A;
                controls    &#x63A7;&#x5236;&#x9762;&#x677F;&#x5728;&#x4E0D;&#x540C;&#x7684;&#x6D4F;&#x89C8;&#x5668;&#x4E0B;&#x7684;&#x6837;&#x5F0F;&#x90FD;&#x662F;&#x4E0D;&#x4E00;&#x6837;&#x7684;&#xFF0C;&#x4E5F;&#x6539;&#x4E0D;&#x4E86;&#xFF0C;&#x6240;&#x4EE5;&#x5462;&#x540E;&#x6211;&#x4EEC;&#x901A;&#x5E38;&#x81EA;&#x5DF1;&#x5236;&#x4F5C;&#x63A7;&#x5236;&#x9762;&#x677F;&#x6765;&#x63A7;&#x5236;audio&#x6807;&#x7B7E;
        --&gt;
        &lt;audio src=&quot;media/music.mp3&quot; controls=&quot;controls&quot; volume=&quot;20&quot; autoplay=&quot;autoplay&quot; preload=&quot;auto&quot; loop=&quot;loop&quot; muted=&quot;muted&quot;&gt;&lt;/audio&gt;

        &lt;!-- &#x97F3;&#x9891;&#x683C;&#x5F0F;
                mp3        &#x652F;&#x6301;&#x5EA6;&#x6700;&#x9AD8;&#xFF0C;&#x4F53;&#x79EF;&#x548C;&#x97F3;&#x8D28;&#x9002;&#x5408;&#x5927;&#x8303;&#x56F4;&#x63A8;&#x5E7F;
                ogg        &#x5927;&#x90E8;&#x5206;&#x6D4F;&#x89C8;&#x5668;&#x652F;&#x6301;&#x7684;&#x683C;&#x5F0F;
                wma        &#x5FAE;&#x8F6F;&#x5F00;&#x53D1;&#x7684;&#xFF0C;&#x97F3;&#x8D28;&#x6BD4;mp3&#x5F3A;
                flac    &#x65E0;&#x635F;&#x97F3;&#x9891;
        --&gt;

        &lt;audio autoplay controls&gt;
            &lt;source src=&quot;media/ogg.ogg&quot;/&gt;
            &lt;source src=&quot;media/ogg.mp3&quot;/&gt;
        &lt;/audio&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre><h2 id="&#x89C6;&#x9891;&#x6807;&#x7B7E;">&#x89C6;&#x9891;-&#x6807;&#x7B7E;</h2>
<h3 id="1&#x89C6;&#x9891;&#x6807;&#x7B7E;&#x7684;&#x57FA;&#x672C;&#x683C;&#x5F0F;&#x548C;&#x5B9E;&#x4F8B;">1.&#x89C6;&#x9891;&#x6807;&#x7B7E;&#x7684;&#x57FA;&#x672C;&#x683C;&#x5F0F;&#x548C;&#x5B9E;&#x4F8B;</h3>
<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset=&quot;UTF-8&quot;&gt;
        &lt;title&gt;video&#x89C6;&#x9891;&#x6587;&#x4EF6;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;!--
            mp4
            avi
            wmv
            ogv
            webm
            &#x7528;&#x683C;&#x5F0F;&#x5DE5;&#x5382;&#x538B;&#x7F29;
        --&gt;


        &lt;video width=&quot;800&quot; height=&quot;&quot; controls=&quot;&quot; autoplay=&quot;&quot; preload=&quot;&quot; loop=&quot;&quot; muted=&quot;&quot;&gt;
            &lt;source src=&quot;media/video.mp4&quot; type=&quot;video/mp4&quot;&gt;&lt;/source&gt;
            &lt;source src=&quot;media/video.flv&quot; type=&quot;video/flv&quot;&gt;&lt;/source&gt;
            &lt;source src=&quot;media/video.webm&quot; type=&quot;video/webm&quot;&gt;&lt;/source&gt;
            &lt;!--&lt;object width=&quot;&quot; height=&quot;&quot; type=&quot;application/x-shockwave-flash&quot; data=&quot;myvideo.swf&quot;&gt;
                &lt;param name=&quot;movie&quot; value=&quot;myvideo.swf&quot; /&gt;
                &lt;param name=&quot;flashvars&quot; value=&quot;autostart=true&amp;amp;file=myvideo.swf&quot; /&gt;
            &lt;/object&gt;--&gt;
            &#x5F53;&#x524D;&#x6D4F;&#x89C8;&#x5668;&#x4E0D;&#x652F;&#x6301; video&#x76F4;&#x63A5;&#x64AD;&#x653E;&#xFF0C;&#x70B9;&#x51FB;&#x8FD9;&#x91CC;&#x4E0B;&#x8F7D;&#x89C6;&#x9891;&#xFF1A; &lt;a href=&quot;myvideo.webm&quot;&gt;&#x4E0B;&#x8F7D;&#x89C6;&#x9891;&lt;/a&gt;
        &lt;/video&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>
                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../html/列表与表单.html" class="navigation navigation-prev " aria-label="Previous page: 列表与表单"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../html/iframe内嵌框架.html" class="navigation navigation-next " aria-label="Next page: iframe内嵌框架"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../gitbook/app.js"></script>

    
    <script src="../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
